// Programming_Scala/src/ch08/reduceleftright-script.scala
println( ( 1 to 1000000 ) reduceLeft( _ + _ ) )
println( ( 1 to 1000000 ) reduceRight( _ + _ ) )
